package com.vlada.studzad.model;

import org.apache.tapestry5.beaneditor.Validate;
import org.apache.tapestry5.ioc.annotations.Inject;

public class Employer{
	
	private String firmName;
	private String firstName;
	private String lastName;
	private String userName;
	private String password;
	private String occupationType;
	
	@Inject
	public Employer(){
		
	}
	
	public Employer(String firmName, String firstName, String lastName,
			String userName, String password, String occupationType) {
		super();
		this.firmName = firmName;
		this.firstName = firstName;
		this.lastName = lastName;
		this.userName = userName;
		this.password = password;
		this.occupationType = occupationType;
	}
	@Validate("required")
	public String getFirmName() {
		return firmName;
	}

	public void setFirmName(String firmName) {
		this.firmName = firmName;
	}
	@Validate("required")
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	@Validate("required")
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	@Validate("required")
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	@Validate("required")
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	@Validate("required")
	public String getOccupationType() {
		return occupationType;
	}

	public void setOccupationType(String occupationType) {
		this.occupationType = occupationType;
	}
	

	
}
